package ihistoryApp.dal.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

@Data
@SuperBuilder
@TableName(value = "follow", autoResultMap = true)
@NoArgsConstructor
public class Follow {
    @TableId(type =  IdType.AUTO)
    private Long followId;

    private Long fan;

    private Long follower;
}
